using UnityEngine;
using System.Collections;

public class CharacterAnimation_Menu : DrawableGameObject 
{
	public Texture2D[] runningTextures;
	private float speed = 0.1f;
	
	public override void Start () 
	{
		base.Start();
		base.SetAnimations(null, runningTextures, null, null);
	}
	
	void Update ()
	{
		transform.Translate(speed,0,0);
		RunAnimations();
	}
	
	public void RunAnimations()
	{
		base.gameAnimation.CalculateFps(15);
		base.RunAnimation("Walk", "Loop");
	}
}
